/*
 * @Author: jackning 270580156@qq.com
 * @Date: 2024-02-22 16:14:07
 * @LastEditors: jackning 270580156@qq.com
 * @LastEditTime: 2024-10-22 12:25:23
 * @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
 *   Please be aware of the BSL license restrictions before installing Bytedesk IM – 
 *  selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
 *  Business Source License 1.1: https://github.com/Bytedesk/bytedesk/blob/main/LICENSE 
 *  contact: 270580156@qq.com 
 *  联系：270580156@qq.com
 * Copyright (c) 2024 by bytedesk.com, All Rights Reserved. 
 */
package com.bytedesk.service.thread_summary;

import com.bytedesk.core.base.BaseEntity;
import com.bytedesk.core.thread.ThreadEntity;


import jakarta.persistence.Entity;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * summary
 */
@Entity
@Data
@Builder
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "bytedesk_service_summary")
public class ThreadSummaryEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String content;

    // TODO: writer: robot or agent
 
    
    @ManyToOne
    private ThreadEntity thread;

    // 
    // private String orgUid;
}
